import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
import AutoImport from 'unplugin-auto-import/vite'
 
export default defineConfig({
    plugins: [
        uni(),
        AutoImport({
            imports:[
				'vue',
				'uni-app'
            ]
        })
    ],
	server: {
		port: 5273,
		host: '0.0.0.0',
		proxy: {
		  '/prod-api': {
				target: 'http://oa.jfmyj.com',
				changeOrigin: true,
			},
		}
	}
})